package api

import (
	"gitee.com/alex_li/zangjingge/cmd/zjg-admin/ddd/api/auth"
	"gitee.com/alex_li/zangjingge/cmd/zjg-admin/ddd/api/storage"
	"github.com/lishimeng/app-starter/server"
)

func Router(root server.Router) {
	api := root.Path("/api")
	auth.Router(api.Path("/auth"))
	storage.Router(api.Path("/storage"))
}
